package com.mzj.saas.mservice.lock.mapper;

import com.mzj.saas.mservice.lock.vo.LockListVO;
import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class LockAppRowMapper implements RowMapper<LockListVO> {
    @Override
    public LockListVO mapRow(ResultSet rs, int rowNum) throws SQLException {
        LockListVO vo = new LockListVO();
        vo.setHouseId(rs.getString("houseId"));
        //vo.setCommunityNumber(rs.getString("communityNumber"));
        vo.setCommunityName(rs.getString("communityName"));
        vo.setBuildName(rs.getString("buildName"));
        vo.setUnitName(rs.getString("unitName"));
        vo.setRoomNumber(rs.getString("roomNumber"));
        vo.setMatchUserName(rs.getString("matchUserName"));
        vo.setOrgName(rs.getString("orgName"));
        //vo.setStatus(rs.getInt("status"));
        //vo.setAuditSum(rs.getInt("auditSum"));
        return vo;
    }


}
